Optimal. Leaf size=69 \[ \frac{\sqrt{a^2 x^2+1} \text{CosIntegral}\left (\tan ^{-1}(a x)\right )}{a^2 c \sqrt{a^2 c x^2+c}}-\frac{x}{a c \sqrt{a^2 c x^2+c} \tan ^{-1}(a x)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.174492, antiderivative size = 69, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.182, Rules used = {4942, 4905, 4904, 3302} \[ \frac{\sqrt{a^2 x^2+1} \text{CosIntegral}\left (\tan ^{-1}(a x)\right )}{a^2 c \sqrt{a^2 c x^2+c}}-\frac{x}{a c \sqrt{a^2 c x^2+c} \tan ^{-1}(a x)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 4942
Rule 4905
Rule 4904
Rule 3302
Rubi steps
\begin{align*} \int \frac{x}{\left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)^2} \, dx &=-\frac{x}{a c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)}+\frac{\int \frac{1}{\left (c+a^2 c x^2\right )^{3/2} \tan ^{-1}(a x)} \, dx}{a}\\ &=-\frac{x}{a c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)}+\frac{\sqrt{1+a^2 x^2} \int \frac{1}{\left (1+a^2 x^2\right )^{3/2} \tan ^{-1}(a x)} \, dx}{a c \sqrt{c+a^2 c x^2}}\\ &=-\frac{x}{a c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)}+\frac{\sqrt{1+a^2 x^2} \operatorname{Subst}\left (\int \frac{\cos (x)}{x} \, dx,x,\tan ^{-1}(a x)\right )}{a^2 c \sqrt{c+a^2 c x^2}}\\ &=-\frac{x}{a c \sqrt{c+a^2 c x^2} \tan ^{-1}(a x)}+\frac{\sqrt{1+a^2 x^2} \text{Ci}\left (\tan ^{-1}(a x)\right )}{a^2 c \sqrt{c+a^2 c x^2}}\\ \end{align*}
Mathematica [A] time = 0.100657, size = 55, normalized size = 0.8 \[ \frac{\sqrt{a^2 x^2+1} \tan ^{-1}(a x) \text{CosIntegral}\left (\tan ^{-1}(a x)\right )-a x}{a^2 c \sqrt{a^2 c x^2+c} \tan ^{-1}(a x)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.309, size = 210, normalized size = 3. \begin{align*} -{\frac{1}{2\,{c}^{2}\arctan \left ( ax \right ){a}^{2}} \left ( \arctan \left ( ax \right ){\it Ei} \left ( 1,-i\arctan \left ( ax \right ) \right ){x}^{2}{a}^{2}+{\it Ei} \left ( 1,-i\arctan \left ( ax \right ) \right ) \arctan \left ( ax \right ) +\sqrt{{a}^{2}{x}^{2}+1}xa-i\sqrt{{a}^{2}{x}^{2}+1} \right ) \sqrt{c \left ( ax-i \right ) \left ( ax+i \right ) } \left ({a}^{2}{x}^{2}+1 \right ) ^{-{\frac{3}{2}}}}-{\frac{1}{2\,{c}^{2}\arctan \left ( ax \right ){a}^{2}} \left ( \arctan \left ( ax \right ){\it Ei} \left ( 1,i\arctan \left ( ax \right ) \right ){x}^{2}{a}^{2}+{\it Ei} \left ( 1,i\arctan \left ( ax \right ) \right ) \arctan \left ( ax \right ) +\sqrt{{a}^{2}{x}^{2}+1}xa+i\sqrt{{a}^{2}{x}^{2}+1} \right ) \sqrt{c \left ( ax-i \right ) \left ( ax+i \right ) } \left ({a}^{2}{x}^{2}+1 \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{{\left (a^{2} c x^{2} + c\right )}^{\frac{3}{2}} \arctan \left (a x\right )^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\sqrt{a^{2} c x^{2} + c} x}{{\left (a^{4} c^{2} x^{4} + 2 \, a^{2} c^{2} x^{2} + c^{2}\right )} \arctan \left (a x\right )^{2}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{\left (c \left (a^{2} x^{2} + 1\right )\right )^{\frac{3}{2}} \operatorname{atan}^{2}{\left (a x \right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{{\left (a^{2} c x^{2} + c\right )}^{\frac{3}{2}} \arctan \left (a x\right )^{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]